<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta property="qc:admins" content="2715267767670016375">
    <meta name="baidu-site-verification" content="olyBm8u9gh">
    <meta name="baidu-site-verification" content="fP14YEhnuH">
    <meta name="baidu-site-verification" content="4PF6wA7PTE">
    <meta name="baidu_union_verify" content="d1fe590afc08fcb91a52220e26361aa0">
    <title>游戏卖-专业安全快捷的游戏交易平台-提供游戏币交易|装备交易|账号交易|寄售担保交易|点卡充值|APP充值|游戏点券|手游充值</title>
    <meta name="keywords" content="游戏交易平台,手机游戏交易,游戏交易网站,网络游戏交易,剑灵,魔域,圣斗士星矢,刀剑2,上古世纪,地下城与勇士,九阴真经，笑傲江湖,游戏币,装备,账号,寄售,担保,点卡,金,金币,银子,DNF游戏币，ucmaim.com">
    <meta name="description" content="游戏卖是国内最方便、安全的游戏交易平台，提供游戏币交易|点卡充值|游戏装备|游戏账号|QQ游戏交易道具等买卖服务，支持DNF游戏币、魔域魔石零售交易等多种热门游戏专业综合交易网">
    <script type="text/javascript" src="http://www.ucmaim.com/Public/Ucmaim/Home/Js/jquery-1.8.3.min.js"></script>
<link rel="stylesheet" type="text/css" href="http://www.ucmaim.com/Public/Ucmaim/Home/Css/global.css">
<link href="http://www.ucmaim.com/Public/Ucmaim/Home/Css/global_new.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="http://www.ucmaim.com/Public/Ucmaim/Home/Css/Public.css">
<link rel="stylesheet" type="text/css" href="http://www.ucmaim.com/Public/Ucmaim/Home/Css/buy.css">

<style type="text/css">
@font-face {
  font-family: 'iconfont';
  src: url('//at.alicdn.com/t/font_1457526405_219001.eot'); /* IE9*/
  src: url('//at.alicdn.com/t/font_1457526405_219001.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('//at.alicdn.com/t/font_1457526405_219001.woff') format('woff'), /* chrome、firefox */
  url('//at.alicdn.com/t/font_1457526405_219001.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
  url('//at.alicdn.com/t/font_1457526405_219001.svg#iconfont') format('svg'); /* iOS 4.1- */
}
.txcpdd ul li span {
	width: 90px;
}
.fed-toolstip {
	z-index: 12000;
	width: 239px;
	height: 86px;
	line-height: normal;
	top: 0px;
}
.fed-toolstip {
	background: #9ec5de;
	border: 3px solid #e0edf4;
}
.fed-toolstip .fed-tipcon {
	width: 207px;
	height: 54px;
}
.fed-toolstip .fed-tipcon {
	padding: 15px;
	margin: 1px;
	position: relative;
	background: #fff;
	overflow: hidden;
}
.fed-toolstip .fed-tipcon div {
	padding: 0;
	font-size: 12px;
	color: #f60 !important;
	display: inherit;
}
.fed-toolstip .fed-tipcon div {
	padding: 0;
	font-size: 12px;
	color: #f60;
	display: inherit;
}
.fed-toolstip .fed-tipcon div {
	color: #666;
	line-height: 18px;
}
.fed-toolstip .fed-tipcon .fed-tipsclose {
	position: absolute;
	font-size: 12px;
	font-weight: bold;
	font-family: Simsun;
	color: #787878;
	right: 2px;
	top: 2px;
}
#tipClose {
	text-decoration: none;
}
.fed-arrbottom {
	top: -12px;
	top: -11px\9;
	left: 25px;
}
.fed-toolstip .fed-tipsarr {
	position: relative;
	display: block;
}
.fed-tipsarr span.arr-1, .fed-tipsarr span.arr-2, .fed-tipsarr span.arr-3 {
	position: absolute;
	font-size: 12px;
	font-family: simsun;
	overflow: hidden;
}
.fed-tipsarr span.arr-3 {
	z-index: 99;
	color: #e0edf4;
}
.fed-tipsarr span.arr-1 {
	z-index: 199;
	color: #9ec5de;
}
.fed-tipsarr span.arr-2 {
	z-index: 299;
	color: #fff;
}
.center{ background:#fff;}
.popUp{width:800px;height:600px;background-color:#fff;border-radius:15px;position:relative;display:none}
.popBox{width:695px;margin-left:53px}
.popBox h1{font-size:26px;text-align:center;color:#333;padding-top:25px;margin-bottom:40px}
.popText{color:#666;height:430px;padding-right:15px;overflow-y:scroll}
.popText p{line-height:26px;margin-bottom:23px}
.cClose{font-size:35px;position:absolute;top:30px;right:30px;color:#aaa;cursor:pointer}
.iconfont {
  font-family: iconfont !important;
  speak: none;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.cClose:hover{color:#666}
</style>
<script src="/Public/Manage/js/jquery.form.min.js"></script>
</head>
<body style="background:#f5f5f5;">

<!--头部开始-->
<div class="top_box">
    <div class="top"><!--顶部区域-->
        <div class="top_l left">
            <dl>
            <?php if(empty($member_info)): ?><span id="span_user">
                    <dt>您好！欢迎访问游戏卖</dt>
                    <dt><a href="<?php echo U('Home/Member/Login', 'ref='.$current_url, '');?>" class="blue" rel="nofollow">登录</a></dt>
                    <dt><a href="<?php echo U('Home/Member/Register');?>" class="blue" rel="nofollow">免费注册</a></dt>
                </span>
            <?php else: ?>
                <span id="span_user">
                    <dt><a rel="nofollow" href="<?php echo U('Home/Member/Index');?>"><?php echo ($member_info["nickname"]); ?></php></a>，欢迎回来！</dt>
                    <dt class="top_grayline">|</dt>
                    <dt><a href="<?php echo U('Home/Member/Logout');?>" rel="nofollow">注销</a></dt>
                </span><?php endif; ?>
            </dl>
        </div>
    </div>
</div>
<script type="text/javascript">

    $('#div_seller,#div_buyer,#div_blog,#div_Service').hover(
		function () {
		    $(this).addClass('hover');
		},
		function () {
		    $(this).removeClass('hover');
		}
	);

</script>
<div class="clear"></div>
<div class="center logo">
  <div class="left">
    <h1> <a id="homePageLogoLinkUrl" href="<?php echo U('Home/Index');?>" title="游戏卖" style="cursor:default;" target="_blank"> <img id="homePageLogo" src="http://www.ucmaim.com/Public/Ucmaim/Home/Images/common/indexlogo.png" alt="游戏卖"> </a> </h1>
  </div>
  <div>
    <div class="gm_lc">
      <div id="div1" class="gm_lc_wz_1 gm_lc_1"> 1.填写收货信息 </div>
      <div id="div2" class="gm_lc_wz_2 gm_lc_2"> 2.在线付款 </div>
      <div id="div3" class="gm_lc_wz_3 gm_lc_2"> 3.确认收货 </div>
      <!--<div id="div4" class="gm_lc_wz_4 gm_lc_2">4.完成</div>-->
    </div>
  </div>
</div>
<!--头部结束-->
<div class="clear"></div>
<div class="center" style="margin-top:20px;">
  <div class="qrgmxx">
    <h1>确认购买信息</h1>
    <div class="kuang">
      <ul>
        <li class="cpbt">商品标题</li>
        <li class="jg">总价</li>
        <li class="dj">单价</li>
      </ul>
      <ul>
        <li class="cpbt"> <!--<img style="float: left;margin-right: 5px;" src="<?php echo ($goods["goods_pic"]); ?>">--> <span style="float:left ;color:#0099FF;width:auto"><?php echo ($goods["goods_title"]); ?></span><br>
          物品类型： <?php echo ($goods["type_name"]); ?><br>
          游戏区服：
          <?php if(is_array($goods["goods_relation"])): $key = 0; $__LIST__ = $goods["goods_relation"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($key % 2 );++$key; $t = count($goods['goods_relation']); ?>
            <?php if($key > 1): echo ($v["gc_name"]); ?> <?php if($key < $t): ?>/<?php endif; endif; endforeach; endif; else: echo "" ;endif; ?>
        </li>
        <li class="jg" id="goods_price"><strong style=" color:#F90" id="zj"><?php echo ($goods["goods_price"]); ?></strong>元</li>
        <li class="dj"><?php echo ($goods["goods_price"]); ?>元/件<!--=<?php echo ($goods["goods_amount"]); ?>单位--><!--<br /> 约<?php echo (round($goods['show_price'],2)); ?>元/单位--></li>
      </ul>
    </div>
  </div>
</div>
<form name="goodsForm" id="goodsForm" action="{U('Home/Buy/Order')}" method="post">
  <div class="center" style="margin-top:20px;">
    <div class="txcpdd">
      <h1>填写商品订单</h1>
      <ul>
        <li>
          <div style="color:#ff6a2f;font-weight:bold">警惕：提供刷信用、兼职等任务的都是骗子，购买后骗子不会返回本金，谨防被骗！</div>
          <br>
          <span>购买数量：<strong style="color:#F00">* </strong></span>
          <input type="number" id="stock" name="order_number" max="<?php echo ($goods["show_storage"]); ?>" min="1" size="5"  value="1">
          <p class="txcpdd_default"> (可购 <?php echo ($goods["show_storage"]); ?>  件)</p>
        </li>
        <li><span>所在区服：<strong style="color:#F00">* </strong></span>
          <?php if(is_array($goods["goods_relation"])): $key = 0; $__LIST__ = $goods["goods_relation"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($key % 2 );++$key; $t = count($goods['goods_relation']); ?>
          <?php if($key > 1): echo ($v["gc_name"]); ?> <?php if($key < $t): ?>/<?php endif; endif; endforeach; endif; else: echo "" ;endif; ?>
        </li>
        <li><span>电话号码：<strong style="color:#F00">* </strong></span>
          <input type="text" name="order_mobile" id="mobile" maxlength="11" value="<?php echo ($member_info["mobile"]); ?>">
        </li>
        <li><span>联系QQ：<strong style="color:#F00">　</strong></span>
          <input type="text" name="order_qq" id="qq" maxlength="11" value="<?php echo ($member_info["qq"]); ?>">
        </li>
        <li><span>支付宝帐号：<strong style="color:#F00">* </strong></span>
          <input type="text" name="buyer_alipay" id="ali" value="" maxlength="50">
        </li>
        <li><span>游乐淘帐号：<strong style="color:#F00">* </strong></span>
          <input type="text" name="order_zytuid" id="zytuid" value="">
        </li>
      </ul>
    </div>
  </div>
  <div class="clear"></div>
  <input type="hidden" name="goods_id" value="<?php echo ($goods["goods_id"]); ?>"/>
  <input type="hidden" name="seller_id" value="<?php echo ($goods["member_id"]); ?>"/>
  <input type="hidden" name="buyer_id" value="<?php echo ($member_info["uid"]); ?>"/>
  <input type="hidden" name="order_price" id="order_price" value="<?php echo ($goods["goods_price"]); ?>"/>
  <input type="hidden" name="hash"  value="<?php echo ($hash); ?>"/>
</form>
<div class="clear"></div>
<div class="center" style="margin-top:20px;">
  <div class="qdtjdd">
    <h1>确认提交订单</h1>
    <ul>
      <li>游戏卖官方任何工作人员，都<b>不会</b>通过 QQ、电话或游戏内等方式，您索要您的登陆密码、手机号码或手机验证码！如有人冒充游戏卖工作人员向您索要，请千万不要提供！并第一时间联系游戏卖官方客服，电话：400-623-6332（此号码无外拨功能）。</li>
      <li>需支付总价：&nbsp;<strong style=" color:#F90; font-size:14px;" id="amount"><?php echo ($goods["goods_price"]); ?></strong>&nbsp;元</li>
      <li>
        <input type="button" id="hlkOK" class="buy_gm_qdww">
      </li>
      <li>
        <input type="checkbox" id="agreement" checked="checked" style=" height:12px;">
        &nbsp;我已阅读并同意<a href="" class="regAgreementLink ls">《游戏卖交易购买协议》</a></li>
    </ul>
  </div>
</div>
<div class="clear"></div>
<div class="center">
  <div class="ddwt">
    <h1>订单遇到问题：</h1>
    <ul>
      <li> 1.订单号无效，怎么回事啊？<br>
        回答：请确保您的订单成功支付了，否则无法成功取货哦。 </li>
      <li><a href="<?php echo U('Home/Helper/Index');?>" target="_blank" class="ls">更多帮助</a></li>
    </ul>
  </div>
</div>
<div class="popUp">
  <div class="cClose iconfont"></div>
  <div class="popBox">
    <h1><?php echo ($agreement["title"]); ?></h1>
    <div class="popText">
      <?php echo (htmlspecialchars_decode($agreement["content"])); ?>
    </div>
  </div>
</div>
<!-- footer -->
<div class="clear"></div>
<div class="footer"><!--底部区域-->
    <div class="advan">
        <ul>
            <li class="s1">寄售担保 无货保赔</li>
            <li class="s2">安全服务 保障资金</li>
            <li class="s3">7*24小时 专属客服</li>
            <li class="s4">权威认证 安全可信</li>
        </ul>
    </div>
    <div class="link"><!--文字链接-->
        <a href="<?php echo U('Home/About/aboutus');?>" target="_blank" rel="nofollow">关于游戏卖</a><span>|</span> <a href="<?php echo U('Home/About/contactus');?>" target="_blank" rel="nofollow">联系我们</a><span>|</span> <a href="<?php echo U('Home/About/mian');?>" target="_blank" rel="nofollow">免责声明</a><span>|</span> <a href="<?php echo U('Home/About/hr');?>" target="_blank" rel="nofollow">诚聘英才</a><span>|</span>  <a href="<?php echo U('Home/About/cooperation');?>" target="_blank" rel="nofollow">商务合作</a><span>|</span>  <a href="<?php echo U('Home/About/qualification');?>" target="_blank" rel="nofollow">企业资质</a><span>|</span> <a href="http://www.mcprc.gov.cn/" target="_blank">文化部文网文</a>
    </div>
    <div class="copyright gray_a font_a">© 2010-2015 中云通科技股份有限公司 版权所有 <a href="http://www.miibeian.gov.cn" target="_blank" rel="nofollow">粤ICP备14011508号-1</a></div>
    <div class="link"><!--文字链接--></div>
    <!--版权信息-->
    <div class="honor">
        <ul style="margin-left: 110px;">
            <li><a href="http://www.miibeian.gov.cn" target="_blank" class="s2" rel="nofollow"></a></li>
            <li><a href="http://www.cyberpolice.cn/wfjb/" target="_blank" class="s3" rel="nofollow"></a></li>
            <li><a href="https://www.alipay.com" target="_blank" class="s4" rel="nofollow"></a></li>
            <li><a href="<?php echo U('Home/About/wh');?>" target="_blank" class="s6" rel="nofollow"></a></li>
        </ul>

    </div>
</div>
<!-- footer -->
<script type="text/javascript">
  $('#stock').change(function(){
    var v = <?php echo ($goods["goods_price"]); ?>*this.value;
    $('#amount').text( v );
    $('#zj').text( v );
  })

  $('#hlkOK').click(function(){
    if($('#agreement').attr('checked') == 'checked') {
      $('#goodsForm').submit();
    }else{
      alert('请您认真阅读用户协议，确认后提交');
    }
  })
$(document).ready(function() {
$("#goodsForm").validate({rules:{order_number:{required:true,max:<?php echo ($goods["show_storage"]); ?>,min:1},order_mobile:{required:true,rangelength:[11,11],digits:true},order_qq:{rangelength:[5,11],digits:true},order_zytuid:"required",buyer_alipay:"required"},messages:{order_number:{required:"请输入购买数量",min:"购买数量不能少于1",max:"和库存数量不相等"},order_mobile:{required:"请输入手机号码",rangelength:"请输入正确的手机号码",digits:"请输入正确的手机号码"},order_qq:{rangelength:"请输入正确的QQ号码",digits:"请输入正确的QQ号码"},order_zytuid:"请输入游乐淘帐号",buyer_alipay:"请输入支付宝帐号"}})
});


  // 弹出层
  (function($){
    $.fn.layer = function(){
      var isIE = (document.all) ? true : false;
      var isIE6 = isIE && !window.XMLHttpRequest;
      var position = !isIE6 ? "fixed" : "absolute";
      var containerBox = $(this);
      containerBox.css({"z-index": "9999","display": "block","position": position ,"top": "50%","left": "50%","margin-top": -(containerBox.height() / 2) + "px","margin-left": - (containerBox.width() /2 ) + "px"});
      var layer=$("<div></div>");
      layer.css({"width": "100%","height": "100%","position": position,"top": "0px","left": "0px","background-color": "#000","z-index": "9998","opacity": "0.45"});
      $("body").append(layer);
      function layer_iestyle(){
        var maxWidth = Math.max(document.documentElement.scrollWidth, document.documentElement.clientWidth) + "px";
        var maxHeight = Math.max(document.documentElement.scrollHeight, document.documentElement.clientHeight) + "px";
        layer.css({"width": maxWidth , "height": maxHeight });
      }
      function containerBox_iestyle(){
        var marginTop = $(document).scrollTop - containerBox.height() / 2 + "px";
        var marginLeft = $(document).scrollLeft - containerBox.width() / 2 + "px";
        containerBox.css({"margin-top": marginTop , "margin-left": marginLeft });
      }
      if(isIE){
        layer.css("filter", "alpha(opacity=45)");
      }
      if(isIE6){
        layer_iestyle();
        containerBox_iestyle();
      }
      $("window").resize(function(){
        layer_iestyle();
      });
      layer.click(function(){
        containerBox.hide(300);
        $(this).remove();
      });
      $(".cClose").click(function(){
        containerBox.hide(300);
        $(layer).remove();
      });
    };
  })(jQuery);
  $('.popBg').click(function(event) {
    // $(this).parent().find('.pop').hide();
    // $(this).hide();
  });
  $(".regAgreementLink").click(function(event) {
    $(".popUp").layer();
    return false;
  });


</script>
</body>
</html>